package com.google.code.p.restrpc.http;

/**
 * 
 * @author dz
 *
 */
public enum HttpMethod {
    
    GET("GET"),
    POST("POST"),
    HEAD("HEAD"),
    OPTIONS("OPTIONS"),
    PUT("PUT"),
    DELETE("DELETE"),
    TRACE("TRACE");
    
    private final String value;
    
    private HttpMethod(String value) {
        this.value = value;
    }
    
    public String value() {
        return this.value;
    }
    
    @Override
    public String toString() {
        return this.value;
    }
    
}
